package com.yuehuanghun.admin.generator.model.generator;

import org.springframework.beans.factory.config.ConfigurableBeanFactory;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * 默认实现<br>
 * 通过JDBC META 来获取表及字段信息，一般JDBC库都不提供表或字段的备注信息，所以大多数情况下，仍需要针对每个数据库进行查询实现
 * 
 * @author yadmin
 *
 */
@Component
@Scope(scopeName = ConfigurableBeanFactory.SCOPE_PROTOTYPE)
public final class DefaultTableGenerator extends AbstractTableGenerator {
	public static final String DB_NAME = "default";
	
	@Override
	public String getDbName() {
		return DB_NAME;
	}

}
